#ifndef MSG_TYPE_H
#define MSG_TYPE_H
/******************************************************************************
 *
 * Module:	msg_type.h 
 *
 * Purpose:	Define all message types in FXT/EBS system
 *
 *		This file must be compatible with PC.
 *
 * Dependencies: tex_defn.h contains MSG_xxx definitions ref'd here.
 *		 They are in range 0-912.
 *
 * Author:	H.B.Cinamon
 *
 * Modification History (latest first):
 * Rv	Date	  By		Reason for change
 * ---  --------  -----------   -----------------------------------------------
 * 73   11/8/03  F. Fecher	Added NW_BLTRINQUIRYACK3
 * 72   10/17/03  A.Foray       Added messages for Linked Amounts
 * 71   04/28/03  A.Foray       Added ALRBATCHRESPONSE and ALRDATARESPONSE2
 * 70   11/26/02  A.Foray       Integrated two versions
 * 69   ??/??/??  ???           sombody did something for relating to CLS
 * 68   10/03/02  A.Foray       New message for benchmarks:
 *                              XY_STOPALRDATARQST
 * 67   ??/??/??  ???           ???
 * 66   05/14/02  A.Foray       Added messages to support EBS-FX:
 *                              XY_ALRDataRqst YX_ALRSignonRqst YX_ALRHeartbeat
 *                              XY_ALRDataResponse XY_ALRSignonRqstAck
 * 65	08/24/00  CB		Add defines for heartbeat message headers
 * 64   10/13/99  AM            Restored II_*
 * 63   10/12/99  AM            Removed: AC_EBSRATE2, WN_QUERYBANKSBYSVC,
 *                                       NW_QUERYBANKSBYSVCACK, II_*,
 *                                       WN_EBSDEALHISTORYRESUME,
 *                                       NW_EBSDEALHISTORY, NN_STOPTRADING
 *                              Changed: WN_RQSTEBSDEALHISTORY to
 *                                       NW_BLTRINQUIRYACK2
 *                              Added:   WN_AUTOMATCHINTERRUPTWS,
 *                                       NA_AUTOMATCHINTERRUPT
 * 62   05/20/98  AM            Add AA_QteData2, AA_QteDataLog2, and
 *                              AA_LostCompConn
 * 61   04/21/98  AM            Add AA_DealFailed2, AA_DealStatusMaker2, and
 *                              AA_QteNotTaker
 * 60   03/15/96  AM            Add AA_HITPROCESSED2
 * 59   03/04/96  AM            Add NN_STOPTRADING
 * 58	02/26/96  YS            Added message type WN_EBSDEALHISTORYRESUME for
 *				Prefilling EBS Deals.
 * 57   02/19/96  EB            Add AC_EBSRATE2
 * 56   01/29/96  SL            Added Message Types II_PAGELISTRQST, 
 *                              II_PAGELISTRSPN and II_PAGELISTCONT
 * 55   12/12/95  YS		Added message types WN_RQSTEBSDEALHISTORY and
 *				NW_EBSDEALHISTORY.
 * 55   11/10/95  AM            Add WN_BLTRINQUIRYRESUME
 * 54   10/30/95  SL            Added message tyoe II_APPLDATA
 * 53   10/26/95  YS		Added message types XY_TSMKTVIEWWS,
 *				XY_TSEVENTMSGWS, and NN_EVENTMSG. Deleted
 *			 	XY_MKTVIEW2 and XY_EVENTMSG.
 * 52   09/22/95  Y. Shen	Added message types XY_MKTVIEW2 & XY_EVENTMSG
 *				for Ticker.
 * 51   09/13/95  EB            Make spelling fixes for WHATSVC messages for MGI
 * 50   06/27/95  EB            Rename WN_SOLICITUSER2 -> WN_CAPABQUERY,
 *                                     WN_DELIVERUER2  -> WN_CAPABQUERYACK
 * 49   06/27/95  EB            Reinstate WN_SOLICITUSER2; add NW_DELIVERUSER2
 * 48   06/21/95  EB            Remove WN_USERPROFCREATE2,WN_SOLICITUSERPROF,
 *                              WN_SOLICITUSERPROF2,WN_SOLICITUSER,
 *                              WN_SOLICITUSER2,NW_DELIVERUSERPROF2,
 *                              Rename WN_CREATEUSERPROF2 -> WN_USERPROFCREATE2
 * 47   06/21/95  SL            Added II Message Types
 * 46   06/16/95  EB            Added WN_CREATEUSERPROF2,WN_SOLICITUSERPROF2,
 *                              WN_SOLICITALLUSER2,WN_SOLICITUSER2,
 *                              NW_DELIVERUSERPROF2,NW_DELIVERAUSER2,
 *                              WN_USERINFOUPDATE2               
 * 45   04/11/95  EB            Added WN_WHATSVC & NW_WHATSVACK
 * 44   03/10/95  N.Jain        Changed AN_HITADVICEWS & AN_QTEADVICEWS to
 *                              NW_HITADVICEWS & NW_QTEADVICEWS
 * 43   02/27/95  EB            Added WN_GRANTREQUEST,NW_GRANTREQUESTACK,
 *                              NW_ENTITLEBROADCAST
 * 42   02/24/95  E.Howorka     Added AN_HITADVICE, AN_QTEADVICE, 
 *				AN_HITADVICEWS, AN_QTEADVICEWS.
 * 41   09/09/94  N.Jain        Added message types for callcycle 20040-20056
 * 40   06/21/94  A.Malka       Remove WN_BLTRINQUIRYENLARGED and
 *                              NW_BLTRINQUIRYENLARGEDACK
 * 39   06/21/94  A.Malka       Renumber WN_BLTRINQUIRYENLARGED and
 *                              NW_BLTRINQUIRYENLARGEDACK
 * 38   06/20/94  E.Howorka     Added WN_LOGCENTRALWS message type,
 *                              changed XL_LOGCENTRAL to NA_LOGCENTRAL.
 * 37   06/20/94  A.Malka       Add WN_BLTRINQUIRYENLARGED and
 *                              NW_BLTRINQUIRYENLARGEDACK (can be reused when
 *                              DIM_DEAL_RATE is increased from 7 to 8 in the
 *                              "extended cross rates" release)
 * 36   6/14/94   EB            Remove AD_HITPROCESSED
 * 35   6/14/94   E.Howorka     Added XL_LOGCENTRAL message type
 * 34   2/22/94   E.Howorka     Added AD_MKTHITPROCESSED2 message type
 * 33   2/2/94    E.Howorka     Added DN_MKTVIEW2 message type
 * 32   1/19/94   M.Meier       Added message types for news status, increased
 *				MSG_TYPE_MAX
 * 31   11/23/93  M.Meier       Added message types for MGI, increased
 *				MSG_TYPE_MAX
 * 30   11/02/93  M.Meier       Added message types for NEWS, increased
 *				MSG_TYPE_MAX
 * 29   07/22/93  A.Malka       Add EH_StartupELSRqst, HE_StartupELSAck, and
 *                              HE_ELSRqstMsgAck
 * 28   07/21/93  N.Jain	Add NN_QUERYEBSDONTKNOW
 * 27   06/11/93  E.Howorka	Add AA_QTEDELETED
 * 26   06/07/93  N.Jain        Add WN_SENDSILOMSG
 * 25   05/06/93  E.Howorka	Add HA_ARBPOLL, AH_ARBPOLLACK.
 * 24   05/05/93  EB            Add EH_ELSPOLLACK and HE_ELSPOLL
 * 23	04/20/93  E.Howorka	Add NA_MANCHKCREDITDATA and 
 *				AN_MANCHKCREDITDATAACK
 * 22   04/13/93  N.Jain        Added XN_SILOMSG,NW_SILOMSGWS
 *                              Deleted HX_BROADCAST
 * 21   01/29/93  N.Jain        Redefined WN_PWDRESTOREDEFAULT
 * 20   01/06/93  N.Jain        Redefined NW_SETTLEFUNCACK and
 *                              WN_SETTLERECDATARQST
 * 19   01/05/93  E.Howorka     Deleted messages: AA_HITQTEDONE,
 *				AA_QTEDEALDONE, AA_QTEAMTUNRESERVED
 *                              New messages: AA_BYEMSG, AA_BYEACKMSG
 *				AA_CHKCREDITDATA, AA_DEALSTATUSMAKER, 
 *				AA_QTEAMTDONE, AA_LOGSESSIONEND   
 * 18   11/09/92  E.Barasch	Delete AH_PERFORMANCESTATS, replace 
 *                              AH_QUERYQTESTATUSNACK with AH_STARTUPHDACK
 *                              Add HA_BYEMSG 10043
 *                              Add AH_QUERYQTESTATUSDATA 10010
 * 17   11/10/92  J.Colman	#define NW_BLTRINQUIRYDONE 10028
 * 16   11/09/92  E.Barasch	add ND_STARTUPMANRQST and DN_STARTUPMANACK
 * 15   11/06/92  N.Jain        #define NW_EVENTMSGWS  
 *                              delete NW_CVSRATEFUNCACK
 *                              delete NW_QTEALLDONE
 * 14   11/05/92  J.Colman	#define WN_BLTRINQUIRY 10019
 *                              #define NW_BLTRINQUIRYACK 10020
 * 13	10/23/92  E.WRZESIEN	added AA_CREDITUPDATE and AA_QTEDATALOG
 * 12   10/16/92  A.Ross	WN_CXLSESSION -> NW_CXLSESSION
 * 11 	10/15/92  E.Wrzesien	changed NW_QTECXLEDWS  10179 TO AN_QTECXLED
 *				added NW_AUTOSETTLE,NN_RECOVERYDONE,
 *				NN_QUERYEBSCOMMITSTATUS,NN_QUERYEBSCONFIRMED,
 *				NN_QUERYEBSINFO,NN_QUERYEBSDENIED
 *				changed AA_EVENTLOGMSG to AL_EVENTLOGMSG 
 * 10   10/09/92  E.Wrzesien    deleted #define NW_DROPALLLINKS   10173
 *				added #define WN_PURGETRADERPTRQST  10177
 *				#define NW_PURGETRADERPTDATA	  10178
 *				#define NW_QTECXLEDWS		  10179
 *				#define NA_HITINTERRUPTED	  10180
 *				changed #define MSG_TYPES_MAX	  10180  
 * 09   10/02/92  E.Wrzesien    changed NW_QTECXLED to NW_QTECXLEDWS 
 * 08   09/22/92  N.Jain        Added NW_CREDITMEMFUNCACK 10176
 * 07   09/16/92  N.Jain        Added message type 10174,10175
 * 06   09/15/92  N.Jain        Added message type NW_DROPALLLINKS 10173
 * 05   08/31/92  K. Follini    change XE_ERRLOGRQST to XE_ELSRQSTMSG
 * 04   09/02/92  M. Meier      Added message type AA_EVENTLOGMSG #10172
 * 03   08/27/92  N.Jain        Added Msg_types 10165 to 10171
 * 02	08/04/92  K. Follini	Added XE_ERRLOGRQST for Error logging server
 * 01	07/14/92  HBC		Initial creation.
 *************************************************************************/

	/********************************************************/
	/*							*/
	/* Available msg type numbers:   		 	*/
	/*                               			*/
	/*				 			*/
	/********************************************************/

#define MSG_TYPES_MIN			  0      /* don't like this!! */
#define MSG_TYPES_MAX		       	  20162  /* update when new type added*/

#define AC_EBSRATE                              MSG_RATES_EBSRATE
#define AD_MKTCREDITDATA                  10000
#define AD_MKTUPDATE                      10001
#define AD_MKTCREDITUPDATE                10002
                                          /* 10003 (formerly AD_HITPROCESSED)*/
#define AD_MKTQTEAMTRESERVED              10004
#define AD_MKTQTEAMTUNRESERVED            10005
#define AD_MKTQTEAVAILABLE                10006
#define AD_MKTQTEDATA                     10007
#define AD_MKTQTEDONE                     10008
#define AD_MKTQTEINTERRUPTED              10009
#define AH_QUERYQTESTATUSDATA             10010 
#define HA_QUERYQTESTATUS                 10011
#define HA_STARTUPHDRQST                  10012
#define AH_STARTUPHDACK                   10013
#define AA_QTEAMTRESERVED                 10014
#define EH_ELSPOLLACK                     10015 
#define AA_QTEAVAILABLE                   10016
#define HE_ELSPOLL                        10017 
#define AA_QTEDATA                        10018

#define WN_BLTRINQUIRY                    10019

#define NW_BLTRINQUIRYACK                 10020
#define AN_QTESUBMITACK                   10021
#define NA_SIGNONMANRQST                  10022
#define AN_SIGNONMANACK                   10023

#define AA_STARTUPARBRQST                 10024
#define AL_STARTUPARBLMACK                10025

#define LA_STARTUPARBLMRQST               10026
#define AA_STARTUPARBACK                  10027

#define NW_BLTRINQUIRYDONE                10028

#define DA_STARTUPMDRQST                  10029
#define AD_STARTUPMDACK                   10030

#define LT_TICKERMSG                      10031
#define NH_WORKSTATIONFAILURE             10032
#define LB_BILLINGMSG                     10033
#define NN_EBSRECOVERYDONE		  10035 
#define NH_BUYSELLRQSTTIMEOUT             10036

#define LA_BYEMSG                         10037
#define AL_BYEACKMSG                      10038

#define NA_BYEMSG                         10039
#define AN_BYEACKMSG                      10040

#define DA_BYEMSG                         10041
#define AD_BYEACKMSG                      10042

#define HA_BYEMSG                         10043 
    						/* 10044  */
    						/* 10045  */
#define AA_CHKCREDITDATAACK               10046
    						/* 10047  */

#define AD_CHKMKTCREDITDATA               10048
#define DA_CHKMKTCREDITDATAACK            10049
    						/* 10050  */

#define AD_CHKMKTQTEDATA                  10051
#define DA_CHKMKTQTEDATAACK               10052
    						/* 10053  */

#define AA_CHKQTEDATA                     10054
#define AA_CHKQTEDATAACK                  10055
#define AH_CHKQTEDATAERROR                10056

#define AA_CREDITDATA                     10057
#define NA_CREDITUPDATE                   10058
#define AA_DEALFAILED                     10059
#define NA_DEALFAILED                     10060
    						/* 10061  */
#define NA_DEALSTATUSMAKER                10062
#define NA_DEALSTATUSTAKER                10063
#define NN_DEALVERIFY                     10064
#define NN_DEALVERIFYACK                  10065
#define NH_DEALVERIFYTIMEOUT              10066
#define BL_FEEDINITIATE                   10067
#define TL_FEEDINITIATE                   10068
#define BL_FEEDRANGE                      10069
#define TL_FEEDRANGE                      10070
#define BL_FEEDSTOP                       10071
#define TL_FEEDSTOP                       10072
#define LB_FEEDTERMINATE                  10073
#define LT_FEEDTERMINATE                  10074
#define AA_HITPROCESSED                   10075
#define AA_HITQTE                         10076
#define NW_WHATSVCACK                     10077 
#define NW_WHATSVCSACK                    NW_WHATSVCACK
#define AA_HITQTEACK                      10078
#define AN_HITNOTIFY                      10079
#define NN_INSTRTMAKER                    10080
#define NN_INSTRTTAKER                    10081
#define LA_LOGBEGIN                       10082
#define LA_LOGEND                         10083
#define WN_WHATSVC                        10084  
#define WN_WHATSVCS                       WN_WHATSVC
#define LL_LOGMSG                         10085
#define AL_LOGMSG                         10086
#define LL_LOGMSGNONE                     10087
#define AA_HITPROCESSED2                  10088
#define HN_LOGRQST                        10089
#define NH_LOGRQSTACK                     10090
    						/* 10091  */
#define LL_LOGRESYNC                      10092
#define DN_MKTVIEW                        10093

/*******************************************************************************

                          MESSAGE DEFINES FOLLOW:
      These messages have structures common to both WS-MAN and all others.
*******************************************************************************/
#define AD_EVENTMSG                       10094
#define AH_EVENTMSG                       10095
#define AN_EVENTMSG                       10096
#define DA_EVENTMSG                       10097
#define DH_EVENTMSG                       10098
#define DN_EVENTMSG                       10099
#define NA_EVENTMSG                       10100
#define ND_EVENTMSG                       10101
#define NH_EVENTMSG                       10102
#define NW_EVENTMSGWS                     10103
#define AN_HITALLDONE                     10104
#define NW_HITALLDONEWS                   10105
#define WN_HITSUBMITWS                    10106
#define NA_HITSUBMIT                      10107
#define AN_QTEPOSITION                    10108
#define NW_QTEPOSITIONWS                  10109
#define WN_QTEINTERRUPTEDWS               10110
#define NA_QTEINTERRUPTED                 10111
#define AA_QTEINTERRUPTED                 10112
#define WN_QTESUBMITWS                    10113
#define NA_QTESUBMIT                      10114
#define NW_AUTOSETTLE			  10115	
#define WN_CCYPAIRSQUERY                  10116
#define NW_CCYPAIRSQUERYDATA              10117
#define NW_CREDITCPARTYSTATUS             10118
#define ND_CCYPAIRSRQST                   10119

#define WN_CCYPAIRSRQSTWS                 10120

#define NW_ADMINRESULT                       MSG_ADMIN_RESULT
#define NW_BINFILEVERSIONDATA                MSG_BINFILE_DELIVER_VERSION
#define WN_BINFILEVERSIONRQST                MSG_BINFILE_VERSION_RQST
#define NW_BINFILEVERSIONFAILED		     MSG_BINFILE_RQST_FAILED        
#define NW_CVSRATEUPDACK                  10121
#define NW_CVSRATEDATA                    10122
#define WN_CVSRATEDATARQST                10123
#define WN_CVSRATEUPD                     10124
#define NW_CREDITFREEFLRDATA              10126
#define WN_CREDITFREEFLRRQST              10127
#define NW_CREDITFUNCACK                  10128
#define WN_CREDITGRPADD                   10129
#define WN_CREDITGRPDEL                   10130
#define WN_CREDITGRPMEMADD                10131
#define NW_CREDITGRPMEMDATA               10132
#define WN_CREDITGRPMEMDATARQST           10133
#define WN_CREDITGRPMEMDEL                10134
#define WN_CREDITGRPMEMUPD                10135
#define NW_CREDITGRPNAMESDATA             10136
#define WN_CREDITGRPNAMESRQST             10137
#define WN_CREDITGRPUPD                   10138
#define NW_CREDITLIMITRPTDATA             10139
#define WN_CREDITLIMITRPTRQST             10140

#define NW_CXLOTHERSESSION                10141
#define WN_CXLOTHERSESSIONACK             10142
#define NW_CXLSESSION                     10143
#define NW_DEALINSTRTIMEOUT               10144
#define NW_DEALSTATUSWSMAKER              10145
#define NW_DEALSTATUSWSTAKER              10146
#define NW_FUNCLOCKACK                    10147
#define WN_FUNCLOCKRLSE                   10148
#define WN_FUNCLOCKRQST                   10149
#define NW_PRINTJOBRESPONSE                  MSG_PRINT_JOB_RESPONSE
#define WN_PRINTJOBRQST                      MSG_PRINT_JOB_REQUEST
#define NW_HITAMT                         10150
#define WN_HITAMTACK                      10151
#define NW_INSTRLOGGEDMAKER               10152
#define NW_INSTRLOGGEDTAKER               10153
#define NW_MKTVIEWWS                      10154
#define WN_PWDRESTOREDEFAULT              MSG_RESTORE_DEFAULT_PASSWORD

#define NW_QTECXLEDWS                     10157
#define WN_RPTPRINTRQST                   10158
#define NW_RPTPRINTSIZE                   10159
#define WN_PWDCHGRQST                        MSG_CHANGE_PASSWORD_RQST
#define NW_PWDCHGSUCCESS                     MSG_CHANGE_PASSWORD_SUCCESS
#define NW_PWDCHGFAILED			     MSG_CHANGE_PASSWORD_FAILED
#define WN_SETTLERECADD                   10160
#define NW_SETTLERECDATA                  10161
#define WN_SETTLERECDEL                   10162
#define WN_SETTLERECUPD                   10163
#define NW_SIGNOFFFAILED                     MSG_SIGNOFF_FAILED
#define WN_SIGNOFFRQST                       MSG_SIGNOFF_RQST
#define NW_SIGNOFFSUCCESS                    MSG_SIGNOFF_SUCCESS
#define NW_SIGNONFAILED                      MSG_SIGNON_FAILED
#define WN_SIGNONRQST                        MSG_SIGNON_RQST
#define NW_SIGNONSUCCESS                     MSG_SIGNON_SUCCESS
#define WN_SOLICITALLUSERS                   MSG_SOLICIT_ALL_USERS
/* #define WN_SOLICITUSER                       MSG_SOLICIT_USER */

#define NW_TRADERPROFACK                     NW_ADMINRESULT
#define WN_TRADERPROFUPD                     MSG_UPDATE_USER_INFO_BLOCK
#define NW_TRADINGDEALLOGACK                 MSG_BLTR_DONE
#define NW_TRADINGDEALLOGDATA                MSG_BLTR_TRADE_REC
#define WN_TRADINGDEALLOGRQST                MSG_BLTR_SOLICIT_TRADES
#define NW_USERDATA                          MSG_DELIVER_A_USER
#define WN_USERPROFCREATE                    MSG_CREATE_USER_PROF
#define WN_USERPROFDELETE                    MSG_REMOVE_USER_PROF
#define WN_USERPROFDISABLE                   MSG_DISABLE_USER_PROF
#define WN_USERPROFENABLE                    MSG_ENABLE_USER_PROF
#define WN_USERPROFUPDATE      MSG_UPDATE_USER_INFO /* obsolete after v3.11 */

#define XE_ELSRQSTMSG			  10164    /* @02 */


#define AL_BYEMSG                         10165
#define AH_BYEMSG                         10166
#define AN_BYEMSG                         10167
#define AD_BYEMSG                         10168
#define DN_BYEMSG                         10169
#define ND_BYEMSG                         10170
#define AL_EVENTMSG                       10171
#define AL_EVENTLOGMSG                    10172

#define NN_QUERYEBSCOMMITSTATUS		  10173
#define NW_REPORTFUNCACK                  10174

#define NW_CREDITMEMFUNCACK               10176

#define WN_PURGETRADERPTRQST  		  10177
#define NW_PURGETRADERPTDATA	  	  10178
#define AN_QTECXLED		  	  10179
#define NA_HITINTERRUPTED	  	  10180

#define NN_QUERYEBSCONFIRMED		  10181
#define NN_QUERYEBSINFO			  10182
#define NN_QUERYEBSDENIED		  10183

#define AA_CREDITUPDATE			  10184
#define AA_QTEDATALOG			  10185

#define ND_STARTUPMANRQST                 10186
#define DN_STARTUPMANACK                  10187

#define AA_BYEMSG			  10188
#define AA_BYEACKMSG			  10189
#define	AA_CHKCREDITDATA		  10190
#define	AA_DEALSTATUSMAKER                10191
#define	AA_QTEAMTDONE                     10192
#define AA_LOGSESSIONEND                  10193

#define NW_SETTLEFUNCACK                  10194
#define WN_SETTLERECDATARQST              10195   

#define XN_SILOMSG                        10196
#define NW_SILOMSGWS                      10197

#define NA_MANCHKCREDITDATA               10198
#define AN_MANCHKCREDITDATAACK            10199

#define	HA_ARBPOLL                        10200
#define	AH_ARBPOLLACK                     10201

#define WN_SENDSILOMSG                    10202

#define AA_QTEDELETED                     10203

#define NN_QUERYEBSDONTKNOW               10204

#define EH_STARTUPELSRQST                 10205
#define HE_STARTUPELSACK                  10206
#define HE_ELSRQSTMSGACK                  10207

#define DN_MKTVIEW2                       10208
#define AD_MKTHITPROCESSED2               10209

#define WN_LOGCENTRALWS                   10210
#define NA_LOGCENTRAL                     10211

#define AN_HITADVICE                      10212
#define AN_QTEADVICE                      10213
#define NW_HITADVICEWS                    10214
#define NW_QTEADVICEWS                    10215

#define WN_GRANTREQUEST                   10216
#define NW_GRANTREQUESTACK                10217

#define NN_LOGCENTRAL                     10218

#define WN_USERPROFCREATE2                10219 
   						/* 10220  */
#define WN_SOLICITALLUSERS2               10221
#define WN_CAPABQUERY                     10222 
#define NW_CAPABQUERYACK                  10223
#define NW_DELIVERAUSER2                  10224 
#define WN_USERINFOUPDATE2                10225

#define WN_AUTOMATCHINTERRUPTWS           10226
#define NA_AUTOMATCHINTERRUPT             10227

#define HH_DIDGSREADRQST                  10228

#define SD_LOGCENTRAL                     10229

                                       /* 10230 */

/*---------------------------------------------------------------------------
* The following messages are for the news server and distributor
*
* note: that there is only one form of each message. It doesn't
*       matter  at which level (workstation, banknode, citynode..)
*       the message is sent from, it always has the same type number.
---------------------------------------------------------------------------*/

#define II_LOGON            10230
#define II_LOGOFF           10231
#define II_LINKSTATUS       10232
#define II_SERVICERQST      10233
#define II_NEWSSTATUS       10234
#define II_LIVEHL           10235
#define II_HLRQST           10236
#define II_HLRSPN           10237
#define II_STORYRQST        10238
#define II_STORYRSPN        10239
#define II_CONTRSPN         10240
#define II_STORYSUBMIT      10241
#define II_CONTSUBMIT       10242
#define II_RECORDUPDATE     10243
#define II_CONTUPDATE       10244
#define II_UPDATERQST       10245
#define II_RECORDDELETE     10246
#define II_DELETEEXPIRED    10247
#define II_REJECT           10248
#define II_LINKTEST         10249
#define II_ABORT            10250
#define II_SHUTDOWN         10251
#define II_HEREIAM          10252
#define II_SYSTEM           10253
#define II_STATISTICS       10254
#define II_REGION           10255
#define II_LOGOFFD          10256
#define II_CACHELIST        10257
#define II_APPLDATA         10258
                                  /* Reserve 10259 - 10298 for News */
#define II_SIMTICK          10299 /* For Simulator Use */
#define NN_EODEVENT	    10300
#define NN_DEALVERIFY2	    10301

#define MSG_TYPES_FNS_MIN  20000      
#define MSG_TYPES_FNS_MAX  20039 /* update when new type added*/

#define WN_FNSLogon       		  20000
#define ND_FNSLogon       		  20001
#define DS_FNSLogon       		  20002
#define NW_FNSLogonAck    		  20003
#define DN_FNSLogonAck    		  20004
#define SD_FNSLogonAck    		  20005
#define SD_FNSHlRspn      		  20006
#define DN_FNSHlRspn      		  20007
#define NW_FNSHlRspn      		  20008
#define SD_FNSLiveHl      		  20009
#define DN_FNSLiveHl      		  20010
#define NW_FNSLiveHl      		  20011
#define WN_FNSStoryRqst   		  20012
#define ND_FNSStoryRqst   		  20013
#define DS_FNSStoryRqst   		  20014
#define NW_FNSStoryRspn   		  20015
#define DN_FNSStoryRspn   		  20015
#define SD_FNSStoryRspn   		  20017
#define NW_FNSFeedStatus  		  20018
#define DN_FNSFeedStatus  		  20019
#define SD_FNSFeedStatus  		  20020
#define WN_FNSUserStory   		  20021
#define NW_FNSComm        		  20022
#define DN_FNSComm        		  20023
#define SD_FNSComm        		  20024
#define WN_FNSLogoff      		  20025
#define WN_FNSHlRqst      		  20026
#define ND_FNSHlRqst      		  20027
#define DS_FNSHlRqst      		  20028
#define WN_FNSNewsRqst    		  20029
#define ND_FNSNewsRqst    		  20030
#define DS_FNSNewsRqst    		  20031
#define MS_FNSLiveHl      		  20032
#define MS_FNSStoryRspn   		  20033
#define MS_FNSHlRspn      		  20034
#define MS_FNSFeedStatus      		  20035
#define MS_FNSComm      		  20036
#define NW_FNSNewsStatus  		  20037
#define DN_FNSNewsStatus  		  20038
#define SD_FNSNewsStatus  		  20039

#define WN_ADDBANKLISTREC		  20040
#define NW_ADDBANKLISTRECACK		  20041
#define WN_DELBANKLISTREC		  20042
#define NW_DELBANKLISTRECACK		  20043
#define WN_UPDBANKLISTREC		  20044
#define NW_UPDBANKLISTRECACK		  20045
#define WN_REQBANKLISTIDS		  20046
#define NW_REQBANKLISTIDSACK		  20047
#define WN_REQBANKLISTSET      	  	  20048
#define NW_REQBANKLISTSETACK		  20049
#define WN_LOCKBANKLISTREC		  20050
#define NW_LOCKBANKLISTRECACK		  20051
#define WN_UNLOCKBANKLISTREC		  20052
#define NW_UNLOCKBANKLISTRECACK		  20053
#define WN_QUERYBANKLISTREC		  20054
#define NW_QUERYBANKLISTRECACK		  20055
#define NW_UPDBANKLISTID		  20056

#define XY_TSMKTVIEWWS			  20057	/* Ticker */
#define XY_TSEVENTMSGWS			  20058 /* Ticker */
#define NN_EVENTMSG			  20059 /* Ticker */

#define WN_BLTRINQUIRYRESUME              20060

#define NW_BLTRINQUIRYACK2		  20061
                                       /* 20062 */
#define AA_QTEAMTHIDE                     20063
#define AA_QTEAMTSHOW                     20064
#define AA_DEALFAILED2                    20065
#define AA_DEALSTATUSMAKER2               20066
#define AA_QTENOTTAKER                    20067
#define AA_QTEDATA2                       20068
#define AA_QTEDATALOG2                    20069
#define AA_LOSTCOMPCONN                   20070
#define NN_HEARTBEATEOD			  20071
#define NN_HEARTBEATSENDSTATS		  20072
#define WN_WSHEARTBEATSTATS		  20073
#define NW_WSHEARTBEATSTATS		  20074
#define WN_WSHEARTBEATSTATSRQST		  20075
#define NW_WSHEARTBEATSTATSRQST           20076
#define NN_TSHEARTBEATSTATS		  20077

#define WN_CLSFLOORDATARQST		  20078
#define WN_CLSFLOORDATAUPD		  20079
#define NW_CLSFLOORDATAUPD		  20080
#define NW_CLSFUNCACK			  20081
#define WN_CLSCREDITEXPOSURERQST	  20082
#define NW_CLSCREDITEXPOSURE		  20083
#define WN_CLSCREDITEXPOSURE   		  20084
#define WN_CLSTFASTATERQST		  20085
#define NW_CLSTFASTATE	     		  20086
#define WN_CLSTFASTATE	       		  20087
#define NW_CLSFLOORDATAACK                20088
#define NN_SENDCLSCPARTYUPDATE        20089
#define NW_CLSCREDITEXPOSUREACK		  20090
#define NW_CLSTFASTATEACK	     	  20091

#define AL_EBSBESTPRICES                  20092
#define AA_DEALSTATUSTAKER                20093

/* messages used by the EBS-FX log file reader */

#define XY_ALRSIGNONRQST                  20094
#define XY_ALRSIGNONRQSTACK               20095
#define XY_ALRDATARQST                    20096
#define XY_ALRDATARESPONSE                20097
#define XY_ALRHEARTBEAT                   20098



#define NA_CLSCPARTYUPDATE                20099

#define NA_MANCHKCPARTYDATA               20100
#define AN_MANCHKCPARTYDATAACK            20101

#define NN_CLSCREDITEXPOSURELOG           20102

#define NN_SENDCLSCREDITEXPOSURE          20103

#define AL_EBSBESTPRICES2                 20104

#define XY_STOPALRDATARQST                20105
#define XY_ALRBATCHRESPONSE               20106
#define XY_ALRDATARESPONSE2               20107

/* these are added for the Linked Amounts project */

#define WN_QTESUBMITWS2                   20108
#define NA_QTESUBMIT2                     20109
#define AA_QTEAVAILABLE2                  20110
#define AA_CHKQTEDATA2                    20111
#define AA_QTEDATA3                       20112
#define AA_QTEDATALOG3                    20113
#define AA_HITQTE2                        20114
#define AN_LINKEDQTEDONE                  20115
#define NW_LINKEDQTEDONEWS                20116
#define WN_TRADEINFOQUERY                 20117
#define NW_TRADEINFOQUERYDATA             20118
#define AA_HITQTEACK2			  20119
#define AH_QUERYQTESTATUSDATA2            20120


#define AL_EBSBESTPRICES3                 20121

#define NA_SIGNONMANRQST2                 20122
#define NA_QTESUBMIT3                     20123
#define NA_HITSUBMIT2                     20124
#define AN_HITNOTIFY2                     20125
#define AA_MANONLINEDATA                  20126
#define AA_MANONLINEUPDATE                20127
#define AA_MANOFFLINE                     20128
#define NA_DEALSTATUSTAKER2               20129
#define NA_DEALSTATUSMAKER2               20130
#define AA_DEALSTATUSTAKER2               20131
#define AA_DEALSTATUSMAKER3               20132
#define NW_BLTRINQUIRYACK3		  20133
#define AA_QTEAVAILABLE3                  20134
#define AA_QTEDATA4                       20135
#define AA_QTEDATALOG4                    20136
#define AH_QUERYQTESTATUSDATA3            20137

#define AA_LOGCENTRAL                     20138

#define NA_QTESUBMIT4                     20139
#define NA_HITSUBMIT3                     20140

#define AD_MKTQTEAVAILABLE2               20141
#define AD_MKTQTEDATA2                    20142

#define AN_HITNOTIFY3                     20143

#define AA_HITQTE3                        20144

#define AD_EBSBESTPRICES3                 20145

#define AD_APPLHEARTBEAT                  20146
#define AN_APPLHEARTBEAT                  20147
#define DA_APPLHEARTBEAT                  20148
#define NA_APPLHEARTBEAT                  20149

#define AA_CREDITDATA2                    20150
#define AA_CREDITUPDATE2                  20151
#define NA_CREDITUPDATE2                  20152

#define CA_APPLHEARTBEAT		  20153
#define AC_APPLHEARTBEAT		  20154

#define NA_SIGNONMANRQST3                 20155
#define AN_HITNOTIFY4                     20156
#define AA_MANONLINEDATA2                 20157
#define AA_MANONLINEUPDATE2               20158
#define AA_CHKFLRDATA                     20159
#define AA_CHKFLRDATAACK                  20160
#define AA_HITQTE4                        20161
#define AA_STARTUPARBRQST2                20162

/* dws - added for new dst/dms formats */

#define NA_DEALSTATUSTAKER3               20163
#define NA_DEALSTATUSMAKER3               20164
#define AA_DEALSTATUSTAKER3               20165
#define AA_DEALSTATUSMAKER4               20166

#endif                                     
/* end of file msg_type.h */

